package com.czn.service;

import com.czn.entity.Illness;
import com.czn.vo.ResponseResult;
import org.beetl.sql.core.engine.PageQuery;

/**
 * @author ChenZeNan
 * @create 2021-04-22 22:53
 */
public interface IIllnessService {
    PageQuery<Illness> findIllnessList(Integer pageNo, Integer pageSize, String name);

    ResponseResult addIllness(Illness illness);

    ResponseResult editIllness(Illness illness);

    Illness findIllnessById(Integer id);

    ResponseResult deleteIllnessById(Integer id);
}
